package com.quanyan.travel.mapper;

import com.quanyan.travel.entity.TbIndexBanner;
import com.quanyan.travel.entity.TbIndexBannerExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbIndexBannerMapper {
    int countByExample(TbIndexBannerExample example);

    int deleteByExample(TbIndexBannerExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbIndexBanner record);

    int insertSelective(TbIndexBanner record);

    List<TbIndexBanner> selectByExample(TbIndexBannerExample example);

    TbIndexBanner selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbIndexBanner record, @Param("example") TbIndexBannerExample example);

    int updateByExample(@Param("record") TbIndexBanner record, @Param("example") TbIndexBannerExample example);

    int updateByPrimaryKeySelective(TbIndexBanner record);

    int updateByPrimaryKey(TbIndexBanner record);
}